package com.haiheng.common.bean.res

import com.google.gson.Gson

/**
 *
 * @Des:
 * @Author: hwz
 * @Date:2022/7/5 0005
 * @Version: 1.0
 */
open class PageRes @JvmOverloads constructor(
    var totalCount: Int = 0,
    var pageSize: Int = 0,
    var currentPage: Int = 0,
    var pageCount:Int = 0,
) {
    open fun  toJson(): String{
        return Gson().toJson(this)
    }
}